Skip to content

Comments

Add EvidenceStore for tracking activity evidence (#496)#501

Open
sawankshrma wants to merge 1 commit intodevsecopsmaturitymodel:mainfrom
sawankshrma:team_evidence
Open

Add EvidenceStore for tracking activity evidence (#496)#501
sawankshrma wants to merge 1 commit intodevsecopsmaturitymodel:mainfrom
sawankshrma:team_evidence

Conversation

@sawankshrma
Copy link
Contributor

@sawankshrma sawankshrma commented Feb 24, 2026

Description

Adds an EvidenceStore.ts to let users record that activities have been completed. Evidence is stored separately from progress in localStorage.

Format:

evidence:
  11111111-1111-1111-11111111111111111:
    - teams: ["Team A", "Team B"]
      title: Example Evidence 1
      evidenceRecorded: 2024-01-15
      reviewer: reviewer-123
      description: This is an example piece of evidence.
      attatchment:
        - type: document
          externalLink: https://example.com/evidence1.pdf
    - teams: ["Team C"]
      title: Example Evidence 2
      evidenceRecorded: 2024-02-15
      reviewer: reviewer-123
      description: This is a second example piece of evidence.
      attatchment:
        - type: document
          externalLink: https://example.com/evidence2.pdf
  22222222-2222-2222-2222-222222222222:
    - teams: ["Team A", "Team B"]
      title: Example Evidence 3
      evidenceRecorded: 2024-02-15
      reviewer: reviewer-123
      description: This is evidence for another activity
      attatchment:
        - type: document
          externalLink: https://example.com/evidence2.pdf

What's New?

  • evidence-store.ts — new store with add, update, delete (by id), merge, rename team, import/export functions.
  • team-evidence.yaml — empty placeholder for YAML-based evidence.
  • wired EvidenceStore into the existing DataStore.

  • Follows existing pattern of existing progress-store.ts.
  • Design Choice:- Evidence is stored separately from progress in the localStorage as a separate key for simplicity purpose (atleast for now). This, can be reverted back to the same key with two blobs (as in the issue), in follow-up UI PRs. I leave this decision for the maintainers.

Resolves (Partially) : #496

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant